from rest_framework.routers import SimpleRouter
from . import views

router = SimpleRouter()
router.register('category', views.ComicCategoryView, 'category')
router.register('comiclist', views.ComicView, 'comiclist')
router.register('comicall', views.ComicAllView, 'comiclist')
router.register('search', views.SearchComicView, 'search')
router.register('comment', views.ComicCommentView, 'comment')
router.register('likes', views.CommentLikes, 'likes')
router.register('num', views.NumofComicView, 'num')
router.register('comicorder', views.ComicNum, 'comicorder')




urlpatterns = [

]
urlpatterns += router.urls
